import type { RouteRecordRaw } from "vue-router";
const userRoutes: RouteRecordRaw[] = [
  {
    path: "/user/profile",
    component: () => import("~/application/profile/index.vue"),
    children: [
      {
        path: "/user/publish",
        name: "userPublish",
        component: () => import("~/application/profile/userPublish.vue"),
      },
      {
        path: "/user/editPublish/:post_id",
        name: "editPublish",
        component: () => import("~/application/profile/editPublish.vue"),
      },
      {
        path: "/user/allPublish",
        name: "userAllPublish",
        component: () => import("~/application/profile/userAllPublish.vue"),
      },
    ],
  },
];
export default userRoutes;
